package com.hhit.zhgd.domain.excelimport

import cn.afterturn.easypoi.excel.annotation.Excel
import cn.afterturn.easypoi.handler.inter.IExcelDataModel
import cn.afterturn.easypoi.handler.inter.IExcelModel

data class DrawingSupplyPlanImportParam(
    var rowNum: Int,
    @Excel(name = "序号", fixedIndex = 0)
    var sort: Int? = null,
    @Excel(name = "阶段", fixedIndex = 1)
    var stage: String? = null,

    @Excel(name = "卷册编号", fixedIndex = 2)
    var volumeNumber: String? = null,
    @Excel(name = "卷册名称", fixedIndex = 3)
    var volumeName: String? = null,
    @Excel(name = "卷册分类", fixedIndex = 4)
    var volumeClassify: String? = null,
    @Excel(name = "交付时间", fixedIndex = 5)
    var deliveryTime: String? = null

):IExcelDataModel,IExcelModel {
    override fun setRowNum(rowNum: Int?) {
        this.rowNum = rowNum!!
    }

    override fun getRowNum(): Int {
        return rowNum
    }

    override fun getErrorMsg(): String {
        return errorMsg
    }

    override fun setErrorMsg(errorMsg: String) {
        this.errorMsg =errorMsg
    }
}
